#include "IGameStartup.h"
#include "GameConfig.h"

class PWGameStartup : public IGameStartup
{
public:

	PWGameStartup();
	virtual ~PWGameStartup();

	virtual IGameRef Init();

	virtual void Shutdown();

	virtual int Update(bool haveFocus, unsigned int updateFlags);

	virtual int Run( const char * autoStartLevelName );

protected:

#ifdef WIN32
	static LRESULT	CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
#endif //WIN32

	static bool		InitWindow(/*SSystemInitParams& startupParams*/);
	static void		ShutdownWindow();

	static bool		InitFramework(/*SSystemInitParams& startupParams*/);
	static void		ShutdownFramework();

};